package com.joysuch.wwyt.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jwk
 * @since 2021-07-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_process_notice_list")
@ApiModel(value="ProcessNoticeList对象", description="")
public class ProcessNoticeList extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "通知名称")
    private String noticeName;

    @ApiModelProperty(value = "触发节点-预留")
    private String triggerNode;

    @ApiModelProperty(value = "触发顺序类型-枚举")
    private Integer triggerOrder;

    @ApiModelProperty(value = "流程Id")
    private Long processId;

    @ApiModelProperty(value = "触发条件JSON(时间对象)")
    private String triggerConditions;

    @ApiModelProperty(value = "触发规则JSON")
    private String triggerRule;

    @ApiModelProperty(value = "提醒方式")
    private Integer noticeType;

    @ApiModelProperty(value = "通知对象")
    private String noticeUserGroup;

    @ApiModelProperty(value = "通知内容")
    private String noticeContent;

    @ApiModelProperty(value = "通知内容变量")
    private String noticeContentVal;

}
